<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="forumNavi.jsp"></jsp:include>
<div class='forum_topic_statistics'>
	<a href="javascript:;" class="forum_topic_statistics_chart">&nbsp;</a>
	今日:${postCountToday}
	<span class="pipe">|</span>
	昨日:${postCountYesterday}
	<span class="pipe">|</span>
	帖子:${postCount}
	<span class="pipe">|</span>
	会员:${userCount}
	<c:if test="${!empty newestUser}">
		<span class="pipe">|</span>
		欢迎新会员:${newestUser.name}
	</c:if>
</div>

<c:forEach var="topicArea" items="${topicAreaList}">
	<div class='blue_panel'>
		<div class='blue_panel_header'>${topicArea.name}</div>
		<c:forEach var="topic" items="${topicMap[topicArea.id]}">
			<div class='panel_content'>
				<img src="css/images/forum.gif"/><span><a href="./index.do?mod=topic&id=${topic.id}">${topic.name}</a></span>
			</div>
		</c:forEach>
	</div>
</c:forEach>

<div class='gray_panel'>
	<div class='gray_panel_header'>在线会员</div>
	<div class='panel_content'>
		<img src="css/images/online_admin.gif"/><span class='onlineUserName'>管理员</span>
		<img src="css/images/online_supermod.gif"/><span class='onlineUserName'>超级版主</span>
		<img src="css/images/online_moderator.gif"/><span class='onlineUserName'>版主</span>
		<img src="css/images/online_member.gif"/><span class='onlineUserName'>会员</span>
	</div>
</div>